#!/bin/bash

# run this command on host

mkdir /home/project/archive/upload/tmps
chmod -Rf 777 /home/project/archive/upload/tmps/

# launch docker

# docker run -d -v /home/project/archive_upload/logs:/home/project/archive_upload/logs -v /home/project/archive/data:/home/project/archive/data -v /home/project/archive/data:/home/project/archive/data -v /home/project/archive/upload:/home/project/archive/upload -v /var/lib/mysql:/var/lib/mysql -v /var/lib/mongo:/var/lib/mongo -p 80:80 -p 3306:3306 --restart=always d3bde7467ddb